/*
 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved.
 */

#ifndef IPCONFIGSETTING_H
#define IPCONFIGSETTING_H

#include <QWidget>
#include "ui_IPConfigSetting.h"

namespace BurnDlg {

class IPConfigSetting : public QWidget {
    Q_OBJECT
public:
    explicit IPConfigSetting(QWidget *parent = nullptr);
    ~IPConfigSetting() override;
    void InitUi();
    void SetIPAddress(const QString &address, const QString &subnetMask,
        const QString &gateway) const;
public slots:
    void SlotSaveClicked(bool);
signals:
    void SignalSaveAddress(QString address, QString subnetMask, QString gateway);
private:
    Ui::BoardIPConfig *ui;
};

}
#endif // IPCONFIGSETTING_H
